<template>
  <div>
    <detail-header></detail-header>
    <detail-display :DetailContent="DetailContent"></detail-display>
  </div>
</template>
<script>
import axios from "axios";
import DetailHeader from "@/pages/detail/components/Header";
import DetailDisplay from "@/pages/detail/components/Display";




export default {
  data(){
    return{
      DetailContent:{},
 

    }
  },
   components: { 
    DetailHeader,
    DetailDisplay ,
   },

   mounted(){
     var id =this.$route.query.id   
     axios.get("http://81.68.253.206:8081/page/getRoleBase?id="+id
    ).then(res=>{
      if(res.data&&res.data.data&&res.data.status){
        this.DetailContent=res.data.data;
      }
    })
   },


}



</script>